// 1. 默认导入material风格的组件库
import 'package:dart_core/views/OrderDetail.dart';
import 'package:dart_core/views/OrderList.dart';
import 'package:flutter/material.dart';

void main() {
  // 2. 运行程序
  runApp(MaterialApp(
      // 路由表(命名路由)
      routes: {
        '/': (context) => const Orderlist(),
        '/orderdetail': (context) => const Orderdetail()
      }));
}
